<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        /* 未访问状态 */
        
        a:link {
            color: skyblue;
            text-decoration: none;
        }
        /* 访问后状态 */
        
        a:visited {
            color: palegreen;
        }
        /* 点击不动的状态 */
        
        a:active {}
        
        .box {
            background-color: saddlebrown;
            text-align: center;
        }
        
        ul li {
            display: inline-block;
            width: 200px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            border: 2px solid sienna;
            color: whitesmoke;
            font-size: large;
        }
        
        ul li:hover {
            background: sienna;
        }
    </style>
</head>

<body>
    <!-- 伪类是类的一种，我们的类使用例如.one{} e而伪类用冒号: 伪类的场景用造a链接上 -->
</body>
<div class="box">
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
        <li>4</li>
        <li>5</li>
    </ul>
</div>

<a href="#">访问网址</a></a>

</html>